//
//  JQFYActivityWebViewController.m
//  JQFY
//
//  Created by apple on 2017/10/17.
//  Copyright © 2017年 yannis. All rights reserved.
//

#import "JQFYActivityWebViewController.h"

@interface JQFYActivityWebViewController ()

@end

@implementation JQFYActivityWebViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}
-(void)setupUI{
    UIImage *bgImg = [UIImage imageNamed:@"ticket_info_bg"];
    self.view.layer.contents = (id)bgImg.CGImage;
    UIFont *font = [UIFont fontWithName:@"Verdana-Bold" size:20];
    NSDictionary *dic = @{NSFontAttributeName:font,
                          NSForegroundColorAttributeName: [UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes =dic;
    UIImage *leftImg = [UIImage imageNamed:@"ticketInfo_back"];
    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:leftImg style:UIBarButtonItemStylePlain target:self action:@selector(didClickBack)];
}
//点击返回键
-(void)didClickBack
{
    [self.navigationController popViewControllerAnimated:YES];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be reca'zreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
